TEMPLATE = app
QT = gui \
    core \
    svg \
    xml
CONFIG += qt \
    warn_on \
    console \
    debug_and_release
DESTDIR = bin
OBJECTS_DIR = build
MOC_DIR = build
UI_DIR = build
HEADERS = src/mainwindowimpl.h \
    src/taglist.h \
    src/photoview.h \
    src/photo.h \
    src/captionedit.h \
    src/picturepreviewdialog.h \
    src/wptlistdialog.h \
    src/gpxwpthandler.h \
    src/gpxwpt.h \
    src/preferencesdialog.h \
    src/centraleurroman.h
SOURCES = src/mainwindowimpl.cpp \
    src/main.cpp \
    src/taglist.cpp \
    src/photoview.cpp \
    src/photo.cpp \
    src/captionedit.cpp \
    src/picturepreviewdialog.cpp \
    src/wptlistdialog.cpp \
    src/gpxwpthandler.cpp \
    src/preferencesdialog.cpp \
    src/centraleurroman.cpp
RESOURCES += application.qrc
macx { 
    LIBS += -framework Cocoa \
        /opt/local/lib/libexiv2.a \
        /opt/local/lib/libexpat.a \
        /opt/local/lib/libiconv.a \
        /opt/local/lib/libintl.a \
        /opt/local/lib/libz.a \
        -dead_strip
    INCLUDEPATH += /opt/local/include
}
else { 
    LIBS += -lexiv2
    INCLUDEPATH += /usr/include
}
FORMS += src/wptlistdialog.ui
